package de.unidue.masterproject.plugin.classes_literaturplugin;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable
public class Book extends Literature{
	@DatabaseField
	private int edition;
	
	@DatabaseField
	private String town;
	
	
	

	public Book(String author, int year, String title, String comment, int edition, String town){
		super(author, year, title, comment);
		this.edition = edition;
		this.town = town;
		
	}

	
	public int getEdition() {
		return edition;
	}


	public void setEdition(int edition) {
		this.edition = edition;
	}


	public String getTown() {
		return town;
	}


	public void setTown(String town) {
		this.town = town;
	}

	public Book(){};
	
}
